﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using WepApi07.Data;
using WepApi07.Data.Entity;
using WepApi07.Domain.Enum;

namespace WepApi07.Intenface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);
        void Insert(Logs log);

        void Delete(Logs log);
        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logLevel, int userId = 0);

        void Clear();
    }
}
